<?php
defined('SIMPLE_SITE') || header('Location: http://alexrodin.com/');
?>
<div id="<?= $name ?>" class="card-blank-space"></div>
<div id="card-<?= $name ?>" class="card">
    <span class="bg"></span>
    <? //Se houver card anterior, adiciona o botao para recuar ?>
    <? if ($previousCardName): ?>
        <span class="button back"><a href="#<?= $previousCardName ?>" title="<?= $previousCardTitle ?>" ><span></span></a></span>
    <? endif; ?>

        <span class="content"><div class="center"><?= $content ?></div></span>


    <? ////Se houver card posterior, adiciona o botao para avançar ?>
    <? if ($nextCardName): ?>
            <span class="button next"><a  href="#<?= $nextCardName; ?>" title="<?= $nextCardTitle ?>" ><span></span></a></span>
    <? endif; ?>

</div>
<div class="post-card-blank-space"></div>